﻿Public Class Inicio



    Private Sub JugarToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles JugarToolStripMenuItem.Click
       
        Jugar.Show()
    End Sub

    Private Sub AñadirPalabrasToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AñadirPalabrasToolStripMenuItem.Click
        Modificar.Show()
        Modificar.BtnAñadir.Visible = True
        Modificar.BtnBorrar.Visible = False
    End Sub

    Private Sub BorrarPalabrasToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BorrarPalabrasToolStripMenuItem.Click
        Modificar.Show()
        Modificar.BtnAñadir.Visible = False
        Modificar.txtDescripcion.Visible = False
        Modificar.BtnBorrar.Visible = True

    End Sub

    Private Sub BorrarTodasToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BorrarTodasToolStripMenuItem.Click
        juego.borrarTodas()
    End Sub

    Private Sub Inicio_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub

    Private Sub SalirToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SalirToolStripMenuItem.Click
        Me.Close()
    End Sub
End Class
